﻿package com.blog.service;

import java.util.List;

import com.blog.model.Link;

public interface LinkService {
	//澧炲姞鍙嬫儏閾炬帴
	void addLink(Link link);
	//鍒犻櫎鍙嬫儏閾炬帴
	boolean deleteLink(int linkid);
	//淇敼鍙嬫儏閾炬帴
	boolean updateLink(Link link);
	//鏌ユ壘鎵€鏈夊弸鎯呴摼鎺?
	List<Link> findAll();
	//鏍规嵁id鏌ヨ
	Link findById(int linkid);
}
